package com.mic.gae.dto;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 
 * @author michael
 * 
 */
@XmlRootElement(name = "server")
public class ServerDTO {

	private Long key;
	private String serverUrl;
	private String serverAlias;
	private String user;
	private String password;
	private String projectsUrl;
	private ProjectsDTO projectsDTO;
	private String identity;

	@XmlElement
	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	@XmlElement
	public ProjectsDTO getProjectsDTO() {
		return projectsDTO;
	}

	public void setProjectsDTO(ProjectsDTO projectsDTO) {
		this.projectsDTO = projectsDTO;
	}

	@XmlElement
	public String getProjectsUrl() {
		return projectsUrl;
	}

	public void setProjectsUrl(String projectsUrl) {
		this.projectsUrl = projectsUrl;
	}

	@XmlElement
	public Long getKey() {
		return key;
	}

	public void setKey(Long key) {
		this.key = key;
	}

	@XmlElement
	public String getServerUrl() {
		return serverUrl;
	}

	public void setServerUrl(String serverUrl) {
		this.serverUrl = serverUrl;
	}

	@XmlElement
	public String getServerAlias() {
		return serverAlias;
	}

	public void setServerAlias(String serverAlias) {
		this.serverAlias = serverAlias;
	}

	@XmlElement
	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	@XmlElement
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
